package com.college.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 图书馆信息
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Getter
@Setter
@TableName("library_access_info")
@ApiModel(value = "LibraryAccessInfo对象", description = "图书馆信息")
public class LibraryAccessInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学期")
    @TableField("semester")
    private String semester;

    @ApiModelProperty("学号")
    @TableField("student_number")
    private String studentNumber;

    @ApiModelProperty("刷脸时间")
    @TableField("brush_face_time")
    private Date brushFaceTime;

    @ApiModelProperty("时间戳")
    @TableField("time_stamp")
    private Date timeStamp;

    @ApiModelProperty("进出类型(0是进，1是出)")
    @TableField("entry_exit")
    private Integer entryExit;

    @ApiModelProperty("进出编号（进出数据两两匹配，唯一）")
    @TableField("entry_exit_number")
    private Integer entryExitNumber;


}
